import req from '@/utils/req'

export function getList(obj) {
  return req.post('glueStickRecord/list',obj);
}
//搜索

export function searchList(obj) {
  return req.post('/glueStickRecord/findByCrystalNo',obj);
}



const MODULE_URL = '/stickProcess/';
//粘棒记录的修改 删除

//获得某条的详情
export function detailRow(id) {
  return req.post(MODULE_URL + 'findId?id='+id)
}
//修改
export function updateRow(obj) {
  return req.postPayload(MODULE_URL+'update',obj)
}
//删除
export function delRows(obj) {
  return req.post(MODULE_URL+ 'deleteMany',obj)
}
